import {
  post,
  get,
  put,
  dalete,
  postJosn,
  putone,
  patch,
  daleteJson,
  download
} from '../utils/request';


//查询头部看板数据
export function queryMemberShareTotal(data) {
  //return post('http://127.0.0.1:18080/api/member-service/v1/memberShareSearch/queryMemberShareTotal', data);
  return post('/api/member-service/v1/memberShareSearch/queryMemberShareTotal', data);
}

//查询会员分享记录（分页）
export function queryMemberShareInvitedRecordByPage(data) {
  //return post('http://127.0.0.1:18080/api/member-service/v1/memberShareSearch/queryMemberShareInvitedRecordByPage', data);
  return post('/api/member-service/v1/memberShareSearch/queryMemberShareInvitedRecordByPage', data);
}

//查询会员分享记录
export function queryMemberShareInvitedRecord(data) {
  //return post('http://127.0.0.1:18080/api/member-service/v1/memberShareSearch/queryMemberShareInvitedRecord', data);
  return post('/api/member-service/v1/memberShareSearch/queryMemberShareInvitedRecord', data);
}

//导出数据
export function excelMemberShareInvitedRecord(data) {
  //return download('http://127.0.0.1:18080/api/member-service/v1/memberShareSearch/excelMemberShareInvitedRecord', data);
  return download('/api/member-service/v1/memberShareSearch/excelMemberShareInvitedRecord', data);
}
